

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<html>
<head>
<script type="text/javascript" src="helpman_topicinit.js"></script>

<title>Replication [Enterprise Architect User Guide]</title>

<meta name="keywords" content="Enterprise Architect, Sparx Systems, UML, Replication,Replication Introduction,Replication Using,Replication Merge Rules,Replication Change Collisions,Replication Disable,Design Master,Synchronization,Enterprise Architect,Enterprise Architect Replication Merge Rules">
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<meta http-equiv="Content-Style-Type" content="text/css" />

<link type="text/css" href="default.css" rel="stylesheet" />
<style type="text/css">
  A, A:Visited
  {
    color: #00F;
  }

  A:Active, A:Hover
  {
    color: #F00;
  }

  OL
  {
    margin: 5px 0 5px 48px;
  }

  UL
  {
    margin-bottom: 3px;
    margin-top: 0;
  }

  #nsr
  {
    background-color: #D4DFFF;
  }

  #nsr A
  {
    text-decoration: none;
  }

  #mainbody
  {
    padding: 8px;
  }

  .p_BodyText
  {
    padding: 5px 0;
  }
</style>



<style type="text/css" media="screen">
  BODY
  {
    background-color: #FFFFFF;
  }

  #nsr
  {
    padding: 6px 6px 0 6px;
    border-bottom: none;
    vertical-align: top;
    z-index: 2;
    visibility: visible;
    left: 0;
    top: 0;
    position: absolute;
  }

  #mainbody
  {
    left: 0;
    top: 0;
    margin: 0;
    position: absolute;
    padding: 10px;
    overflow: auto;
    height: 100%;
    z-index: 1;
    background-repeat: no-repeat;
    background-position: bottom right;
    background-attachment: fixed;
  }
</style>

<style type="text/css" media="print">
  #nsr
  {
    visibility: none;
  }

  #mainbody
  {
    overflow: visible;
  }
</style>
<script type="text/javascript" language="JavaScript" src="nonscroll.js"></script>

</head>
<body scroll="no">

<div id="page">



        <div id="content">
          <div id="content-inner">
          



  
          <div id="nsr">
            <table border="0" cellspacing="0" cellpadding="4" width="100%">
              <tr valign="top">
                <td align="left">
  


                  <p class="p_Heading1"><span class="f_Heading1">Replication</span></p>



  
                </td>
                <td align="right">
                  <a href="introduction.htm" onmouseover="document.images.main.src='button_main_h.gif'" onmouseout="document.images.main.src='button_main.gif'">
                    <img name="main" src="button_main.gif" border=0 alt="Return to Introduction">
                  </a>&nbsp;
    
                  <a href="o1136.htm" onmouseover="document.images.prev.src='button_prev_h.gif'" onmouseout="document.images.prev.src='button_prev.gif'">
                    <img name=prev src="button_prev.gif" border=0 alt="Previous page" />
                  </a>&nbsp;
    
    
    
                  <a href="designmaster.htm" onmouseover="document.images.next.src='button_next_h.gif'" onmouseout="document.images.next.src='button_next.gif'">
                    <img name=next src="button_next.gif" border=0 alt="Next page" />
                  </a>
    
    
                </td>
              </tr>
            </table>
          </div>
          <div id="mainbody">
  


                <p class="p_BodyText"><span class="f_BodyText">In addition to sharing Enterprise Architect projects in real time over a network, you can also share projects using Replication, options for which are available through the </span><span class="f_MenuKeyField">Tools | Manage .EAP File</span><span class="f_BodyText"> menu.</span></p>
<p class="p_BodyText"><span class="f_BodyText">Replication enables different users to work independently of one another, and to merge their changes at a later time. To avoid difficulties in this inevitably hazardous process, please read all sections of this topic carefully.</span></p>
<p class="p_SubHeadingL1"><span class="f_SubHeadingL1">Enterprise Architect Merge Rules</span></p>
<p class="p_BodyText"><span class="f_BodyText">Enterprise Architect follows these rules in merging:</span></p>
<ul style="text-indent: 0px; margin-left: 30px; list-style-position: outside;">
<li><span class="f_Bulletlist1">Additions are cumulative; that is, two replicas each creating three new Classes result in six new Classes after merging.</span></li>
<li><span class="f_Bulletlist1">Deletions prevail over modifications; if one replica changes a Class name and other deletes the Class, performing a merge results in both files losing the Class.</span></li>
</ul>
<p class="p_BodyText"><span class="f_BodyText">Conflicting modifications appear in the </span><span class="f_UIControl">Resolve Replication Conflicts</span><span class="f_BodyText"> dialog (</span><span class="f_MenuKeyField">Tools | Manage EAP File | Resolve Replication Conflicts</span><span class="f_BodyText"> menu option). See <a href="resolveconflicts.htm">Resolve Conflicts</a> for details on how to deal with conflicting modifications.</span></p>
<p class="p_SubHeadingL1"><span class="f_SubHeadingL1">Use Replication</span></p>
<p class="p_BodyText"><span class="f_BodyText">To use replication, follow the steps below:</span></p>
<ol style="text-indent: 0px; margin-left: 48px; list-style-position: outside;">
<li value=1><span class="f_NumberedList">Convert the base project to a <a href="designmaster.htm">design master</a> using the </span><span class="f_MenuKeyField">Tools | Manage .EAP File | Make Design Master</span><span class="f_NumberedList"> menu option.</span></li>
<li value=2><span class="f_NumberedList"><a href="replicas.htm">Create replicas</a> from the design master using the </span><span class="f_MenuKeyField">Tools | Manage .EAP File | Create New Replica</span><span class="f_NumberedList"> menu option.</span></li>
<li value=3><span class="f_NumberedList">Take the replica away and work on it as required, then bring it back for synchronization with the design master.</span></li>
<li value=4><span class="f_NumberedList"><a href="synchreplica.htm">Synchronize the replicas</a>. During synchronization, all changes to both the master and the replica are propagated in both directions, so at the end they both contain the same information.</span></li>
</ol>
<p class="p_SubHeadingL1"><span class="f_SubHeadingL1">Upgrades and Replicas</span></p>
<p class="p_BodyText"><span class="f_BodyText">When you upgrade your version of Enterprise Architect, you must not open a replica until you have opened the design master and then synchronized the replicas with the master. You cannot directly <a href="upgradereplica.htm">upgrade a replica</a>.</span></p>
<p class="p_SubHeadingL1"><span class="f_SubHeadingL1">Avoid Change Collisions</span></p>
<p class="p_BodyText"><span class="f_BodyText">If two or more people make changes to the same element, e.g. a Class, Enterprise Architect arbitrarily overwrites one person's change with another's. To avoid this, different users should work on different packages.</span></p>
<p class="p_BodyText"><span class="f_BodyText">However, since Enterprise Architect does not enforce this rule, it is possible for users' work to conflict. To minimize the difficulties this causes, please note the following guidelines:</span></p>
<ul style="text-indent: 0px; margin-left: 30px; list-style-position: outside;">
<li><span class="f_Bulletlist1">If users are likely to have worked in the same area of the model, they should both witness the synchronization and confirm that they are happy with the net result.</span></li>
<li><span class="f_Bulletlist1">If small pieces of information have been lost, they should be typed into one of the merged models after synchronization.</span></li>
</ul>
<ul style="text-indent: 0px; margin-left: 30px; list-style-position: outside;">
<li><span class="f_Bulletlist1">If a large piece of information has been lost (for example, a large Class note that was overwritten by another user who had made a minor change to the same Class) use the <a href="resolveconflicts.htm">Resolve Replication Conflicts</a> dialog.</span></li>
</ul>
<p class="p_SubHeadingL1"><span class="f_SubHeadingL1">Disable or Remove Replication Features</span></p>
<p class="p_BodyText"><span class="f_BodyText">If you have converted a project to a design master but now want to <a href="removereplication.htm">disable the replication</a> features, use the </span><span class="f_MenuKeyField">Tools | Manage .EAP File | Remove Replication</span><span class="f_BodyText"> menu option. Make sure you back up all your files first!</span></p>




            </div>
          </div>
        </div>



</div>


</body>
</html>
